UNPKG

nhfs

Version:

NHFS — A sleek HTTP file server for the web built with Next.js and HeroUI. (Alpha)

3 lines (2 loc) 2.97 kB
module.exports={30331:a=>{var{m:b,e:c}=a;b.exports=a.x("path",()=>require("path"))},123430:a=>{var{m:b,e:c}=a;b.exports=a.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},157739:a=>{var{m:b,e:c}=a;b.exports=a.x("react/jsx-runtime",()=>require("react/jsx-runtime"))},338005:a=>{var{m:b,e:c}=a;b.exports=a.x("react",()=>require("react"))},666662:a=>{"use strict";var{m:b,e:c}=a;c._=function(a){return a&&a.__esModule?a:{default:a}}},772987:a=>{"use strict";var{m:b,e:c}=a;{Object.defineProperty(c,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(c,{DecodeError:function(){return o},MiddlewareNotFoundError:function(){return s},MissingStaticPage:function(){return r},NormalizeError:function(){return p},PageNotFoundError:function(){return q},SP:function(){return m},ST:function(){return n},WEB_VITALS:function(){return a},execOnce:function(){return d},getDisplayName:function(){return g},getLocationOrigin:function(){return e},getURL:function(){return f},isAbsoluteUrl:function(){return l},isResSent:function(){return h},loadGetInitialProps:function(){return j},normalizeRepeatedSlashes:function(){return i},stringifyError:function(){return k}});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function d(a){let b,c=!1;return function(){for(var d=arguments.length,e=Array(d),f=0;f<d;f++)e[f]=arguments[f];return c||(c=!0,b=a(...e)),b}}let b=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=a=>b.test(a);function e(){let{protocol:a,hostname:b,port:c}=window.location;return a+"//"+b+(c?":"+c:"")}function f(){let{href:a}=window.location,b=e();return a.substring(b.length)}function g(a){return"string"==typeof a?a:a.displayName||a.name||"Unknown"}function h(a){return a.finished||a.headersSent}function i(a){let b=a.split("?");return b[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(b[1]?"?"+b.slice(1).join("?"):"")}async function j(a,b){let c=b.res||b.ctx&&b.ctx.res;if(!a.getInitialProps)return b.ctx&&b.Component?{pageProps:await j(b.Component,b.ctx)}:{};let d=await a.getInitialProps(b);if(c&&h(c))return d;if(!d)throw Object.defineProperty(Error('"'+g(a)+'.getInitialProps()" should resolve to an object. But found "'+d+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return d}let m="undefined"!=typeof performance,n=m&&["mark","measure","getEntriesByName"].every(a=>"function"==typeof performance[a]);class o extends Error{}class p extends Error{}class q extends Error{constructor(a){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+a}}class r extends Error{constructor(a,b){super(),this.message="Failed to load static file for page: "+a+" "+b}}class s extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function k(a){return JSON.stringify({message:a.message,stack:a.stack})}}}}; //# sourceMappingURL=%5Broot-of-the-server%5D__2e92c943._.js.map